Imports System.Xml.Serialization
Namespace Mapping

    Public Class EntityTypeModificationFunctionWithResult
        Inherits EntityTypeModificationFunction

        ''' <summary>Initializes an instance of the <see cref="EntityTypeModificationFunctionWithResult" /> class.</summary>
        ''' <param name="localName">The name of the new element.</param>
        Public Sub New(ByVal localName As String)
            MyBase.New(localName)
        End Sub

        ''' <summary>Initializes an instance of the <see cref="EntityTypeModificationFunctionWithResult" /> class.</summary>
        ''' <param name="other">An <see cref="System.Xml.Linq.XElement"/> object to copy from.</param>
        Public Sub New(ByVal other As XElement)
            MyBase.New(other)
        End Sub

        Private __resultBinding As ResultBindingCollection

        <AutoLoad()> _
        <XmlElement("ResultBinding", GetType(ResultBinding))> _
        Public ReadOnly Property ResultBindings() As ResultBindingCollection
            Get
                If (__resultBinding Is Nothing) Then
                    __resultBinding = New ResultBindingCollection(Me, MyBase.Name.Namespace, "ResultBinding")
                End If
                Return __resultBinding
            End Get
        End Property

    End Class

End Namespace